<div class='tool-boxies'>
    <div class='tool-box'>
        <div nz-row class='tool-box-title'>
            <div nz-col nzSpan="24">系统公共加解密</div>
        </div>
        <div nz-row class="tool-box-content">
            <div nz-col nzSpan="10">
                <textarea rows="4" nz-input [(ngModel)]="leftValue" placeholder="再次输入明文，然后加密即可"></textarea>
            </div>
            <div nz-col nzSpan="4" style="text-align: center;line-height: 100px;">
                <button nz-button nzType="primary" (click)='decryptHandle()'><i nz-icon nzType="left"></i>解密</button>
                <button nz-button nzType="primary" (click)='encryptHandle()'>加密<i nz-icon nzType="right"></i></button>
            </div>
            <div nz-col nzSpan="10">
                <textarea rows="4" nz-input [(ngModel)]="rightValue" placeholder="加密的密文会显示在这里，可以是是带解密的密文"></textarea>
            </div>
        </div>
    </div>
</div>